enum dtype_integrity_collect {
	TYPE(INTEGRITY_COLLECT)=0x3310
};
enum subtype_integrity_collect {
	SUBTYPE(INTEGRITY_COLLECT,UNITSET_MEASURE)=0x1,
	SUBTYPE(INTEGRITY_COLLECT,PACKAGE_MEASURE),
	SUBTYPE(INTEGRITY_COLLECT,LAYER_MEASURE),
	SUBTYPE(INTEGRITY_COLLECT,SYSTEM_MEASURE),
	SUBTYPE(INTEGRITY_COLLECT,NODE_MEASURE)
};
typedef struct unitset_measure_info{
	BYTE uuid[32];
	BYTE unitset_uuid[32];
	UINT32 type;
	int num;
	BYTE * measure_value;
	char * describe;
}__attribute__((packed)) RECORD(INTEGRITY_COLLECT,UNITSET_MEASURE);

typedef struct package_measure_info{
	BYTE package_uuid[32];
	BYTE measure_value[32];
	char * describe;
}__attribute__((packed)) RECORD(INTEGRITY_COLLECT,PACKAGE_MEASURE);

typedef struct layer_measure_info{
	BYTE layer_uuid[32];
	int num;
	BYTE * valuelist;
}__attribute__((packed)) RECORD(INTEGRITY_COLLECT,LAYER_MEASURE);

typedef struct system_measure_info{
	BYTE system_uuid[32];
	char name[32];
	int layers_num;
	BYTE * layers_trustinfo;
}__attribute__((packed)) RECORD(INTEGRITY_COLLECT,SYSTEM_MEASURE);

typedef struct node_measure_info{
	BYTE system_uuid[32];
	BYTE machine_uuid[32];
	char user_name[32];
	BYTE digest[32];
}__attribute__((packed)) RECORD(INTEGRITY_COLLECT,NODE_MEASURE);

